package singletonmode;

/**
 * 静态内部类
 */
class StaticInner {
    private StaticInner() {
    }

    private class Inner {
        private final static StaticInner INSTANCE = new StaticInner();
    }

    public static StaticInner getInstance() {
        return Inner.INSTANCE;
    }
}
